const router = require('koa-router')(),
    firendLinkRouter = require('../controller/firendlink'),
    loginCheck = require('../middlewares/logincheck');
router.prefix('/firendlink');
router.post('/get_firendlink', firendLinkRouter.getFirendLinkC);
router.post('/destroy_firendlink', loginCheck, firendLinkRouter.destroyFirendLinkC);
router.post('/update_firendlink', loginCheck, firendLinkRouter.updateFirendLinkC);
router.post('/create_firendlink', loginCheck, firendLinkRouter.createFirendLinkC);
module.exports = router;